---增加技能的cd
---@class BuffEffect2001140:BaseBuffEffect
BuffEffect2001140 = ClientFight.CreateClass("BuffEffect2001140",ClientFight.BaseBuffEffect)
local t = BuffEffect2001140
t.BuffEffect2001140 = "BuffEffect2001140"
---@param fight Fight
---@param buff FighterBuff
function t:action(fight, buff, ...)
    local target = buff.target
    local buffEffectValue = buff.buffBean.f_BuffEffectValue
    for i=2,buffEffectValue.length do
        local skillCd = target.parametersByObject[t.BuffEffect2001140] or {}
        skillCd[buffEffectValue[i]] = buffEffectValue[1]
        target.parametersByObject[t.BuffEffect2001140 ] = skillCd
    end
    SkillRoleMgr.savePathFile(string.format("[%s][EFFECT]Fighter %s buff%s 触发减少技能cd(本场战斗生效): %s , ",
    fight.frame, target.fighterId, buff.modelId, Arrays.toString(buffEffectValue)));
    return ClientFight.BaseBuffEffect.action(self,fight, buff, ...);
end
---@param fight Fight
---@param buff FighterBuff
function t:remove( fight, buff,force,...)
    local target = buff.target
    target.parametersByObject[t.BuffEffect2001140] = nil
    return ClientFight.BaseBuffEffect.remove(self,fight, buff, force, ...);
end

t.New()